home *** CD-ROM | disk | FTP | other *** search
Emacs Compiled Lisp | 1998-10-28 | 6.3 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was processed as: Emacs Compiled Lisp
(other/emacsCompiledLisp).
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
1%
| dexvert
| Emacs Compiled Lisp (other/emacsCompiledLisp)
| magic
| Unsupported |
100%
| file
| Emacs/XEmacs v19 byte-compiled Lisp data
| default
| |
99%
| file
| data
| default
| |
100%
| TrID
| Emacs/XEmacs byte-compiled Lisp (generic)
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 3b 45 4c 43 13 00 00 00 | 0a 3b 3b 3b 20 63 6f 6d |;ELC....|.;;; com|
|00000010| 70 69 6c 65 64 20 62 79 | 20 72 6d 73 40 70 73 69 |piled by| rms@psi|
|00000020| 6c 6f 63 69 6e 2e 67 6e | 75 2e 61 69 2e 6d 69 74 |locin.gn|u.ai.mit|
|00000030| 2e 65 64 75 20 6f 6e 20 | 4d 6f 6e 20 4a 75 6e 20 |.edu on |Mon Jun |
|00000040| 31 30 20 31 37 3a 33 38 | 3a 31 33 20 31 39 39 36 |10 17:38|:13 1996|
|00000050| 0a 3b 3b 3b 20 66 72 6f | 6d 20 66 69 6c 65 20 2f |.;;; fro|m file /|
|00000060| 68 6f 6d 65 2f 66 73 66 | 2f 72 6d 73 2f 65 31 39 |home/fsf|/rms/e19|
|00000070| 2f 6c 69 73 70 2f 64 6f | 73 2d 66 6e 73 2e 65 6c |/lisp/do|s-fns.el|
|00000080| 0a 3b 3b 3b 20 65 6d 61 | 63 73 20 76 65 72 73 69 |.;;; ema|cs versi|
|00000090| 6f 6e 20 31 39 2e 33 31 | 2e 32 2e 0a 3b 3b 3b 20 |on 19.31|.2..;;; |
|000000a0| 62 79 74 65 63 6f 6d 70 | 20 76 65 72 73 69 6f 6e |bytecomp| version|
|000000b0| 20 46 53 46 20 32 2e 31 | 30 0a 3b 3b 3b 20 6f 70 | FSF 2.1|0.;;; op|
|000000c0| 74 69 6d 69 7a 61 74 69 | 6f 6e 20 69 73 20 6f 6e |timizati|on is on|
|000000d0| 2e 0a 3b 3b 3b 20 74 68 | 69 73 20 66 69 6c 65 20 |..;;; th|is file |
|000000e0| 75 73 65 73 20 6f 70 63 | 6f 64 65 73 20 77 68 69 |uses opc|odes whi|
|000000f0| 63 68 20 64 6f 20 6e 6f | 74 20 65 78 69 73 74 20 |ch do no|t exist |
|00000100| 69 6e 20 45 6d 61 63 73 | 20 31 38 2e 0a 0a 28 69 |in Emacs| 18...(i|
|00000110| 66 20 28 61 6e 64 20 28 | 62 6f 75 6e 64 70 20 27 |f (and (|boundp '|
|00000120| 65 6d 61 63 73 2d 76 65 | 72 73 69 6f 6e 29 0a 09 |emacs-ve|rsion)..|
|00000130| 20 28 6f 72 20 28 61 6e | 64 20 28 62 6f 75 6e 64 | (or (an|d (bound|
|00000140| 70 20 27 65 70 6f 63 68 | 3a 3a 76 65 72 73 69 6f |p 'epoch|::versio|
|00000150| 6e 29 20 65 70 6f 63 68 | 3a 3a 76 65 72 73 69 6f |n) epoch|::versio|
|00000160| 6e 29 0a 09 20 20 20 20 | 20 28 73 74 72 69 6e 67 |n).. | (string|
|00000170| 2d 6c 65 73 73 70 20 65 | 6d 61 63 73 2d 76 65 72 |-lessp e|macs-ver|
|00000180| 73 69 6f 6e 20 22 31 39 | 2e 32 39 22 29 29 29 0a |sion "19|.29"))).|
|00000190| 20 20 20 20 28 65 72 72 | 6f 72 20 22 60 64 6f 73 | (err|or "`dos|
|000001a0| 2d 66 6e 73 2e 65 6c 27 | 20 77 61 73 20 63 6f 6d |-fns.el'| was com|
|000001b0| 70 69 6c 65 64 20 66 6f | 72 20 45 6d 61 63 73 20 |piled fo|r Emacs |
|000001c0| 31 39 2e 32 39 20 6f 72 | 20 6c 61 74 65 72 22 29 |19.29 or| later")|
|000001d0| 29 0a 0a 0a 28 62 79 74 | 65 2d 63 6f 64 65 20 22 |)...(byt|e-code "|
|000001e0| c0 09 9d 89 1a c3 c4 21 | 5c 6e 41 42 a1 88 29 c5 |.......!|\nAB..).|
|000001f0| 16 06 c7 16 08 c9 16 5c | 6e c3 87 22 20 5b 22 20 |.......\|n.." [" |
|00000200| 20 20 25 5b 28 22 20 6d | 6f 64 65 2d 6c 69 6e 65 | %[(" m|ode-line|
|00000210| 2d 66 6f 72 6d 61 74 20 | 74 61 69 6c 20 70 75 72 |-format |tail pur|
|00000220| 65 63 6f 70 79 20 22 25 | 74 3a 22 20 22 3b 22 20 |ecopy "%|t:" ";" |
|00000230| 70 61 74 68 2d 73 65 70 | 61 72 61 74 6f 72 20 22 |path-sep|arator "|
|00000240| 4e 55 4c 22 20 67 72 65 | 70 2d 6e 75 6c 6c 2d 64 |NUL" gre|p-null-d|
|00000250| 65 76 69 63 65 20 28 28 | 22 5e 5c 5c 28 5c 5c 28 |evice ((|"^\\(\\(|
|00000260| 5b 61 2d 7a 41 2d 5a 5d | 3a 5c 5c 29 3f 5b 5e 3a |[a-zA-Z]|:\\)?[^:|
|00000270| 28 20 09 5c 6e 5d 2b 5c | 5c 29 5b 3a 28 20 09 5d |( .\n]+\|\)[:( .]|
|00000280| 2b 5c 5c 28 5b 30 2d 39 | 5d 2b 5c 5c 29 5b 3a 29 |+\\([0-9|]+\\)[:)|
|00000290| 20 09 5d 22 20 31 20 33 | 29 29 20 67 72 65 70 2d | .]" 1 3|)) grep-|
|000002a0| 72 65 67 65 78 70 2d 61 | 6c 69 73 74 5d 20 34 29 |regexp-a|list] 4)|
|000002b0| 0a 23 40 32 36 33 20 43 | 6f 6e 76 65 72 74 20 61 |.#@263 C|onvert a|
|000002c0| 20 73 74 61 6e 64 61 72 | 64 20 66 69 6c 65 27 73 | standar|d file's|
|000002d0| 20 6e 61 6d 65 20 74 6f | 20 73 6f 6d 65 74 68 69 | name to| somethi|
|000002e0| 6e 67 20 73 75 69 74 61 | 62 6c 65 20 66 6f 72 20 |ng suita|ble for |
|000002f0| 74 68 65 20 63 75 72 72 | 65 6e 74 20 4f 53 2e 0a |the curr|ent OS..|
|00000300| 54 68 69 73 20 66 75 6e | 63 74 69 6f 6e 27 73 20 |This fun|ction's |
|00000310| 73 74 61 6e 64 61 72 64 | 20 64 65 66 69 6e 69 74 |standard| definit|
|00000320| 69 6f 6e 20 69 73 20 74 | 72 69 76 69 61 6c 3b 20 |ion is t|rivial; |
|00000330| 69 74 20 6a 75 73 74 20 | 72 65 74 75 72 6e 73 20 |it just |returns |
|00000340| 74 68 65 20 61 72 67 75 | 6d 65 6e 74 2e 0a 48 6f |the argu|ment..Ho|
|00000350| 77 65 76 65 72 2c 20 6f | 6e 20 73 6f 6d 65 20 73 |wever, o|n some s|
|00000360| 79 73 74 65 6d 73 2c 20 | 74 68 65 20 66 75 6e 63 |ystems, |the func|
|00000370| 74 69 6f 6e 20 69 73 20 | 72 65 64 65 66 69 6e 65 |tion is |redefine|
|00000380| 64 0a 77 69 74 68 20 61 | 20 64 65 66 69 6e 69 74 |d.with a| definit|
|00000390| 69 6f 6e 20 74 68 61 74 | 20 72 65 61 6c 6c 79 20 |ion that| really |
|000003a0| 64 6f 65 73 20 63 68 61 | 6e 67 65 20 73 6f 6d 65 |does cha|nge some|
|000003b0| 20 66 69 6c 65 20 6e 61 | 6d 65 73 2e 1f 0a 28 64 | file na|mes...(d|
|000003c0| 65 66 61 6c 69 61 73 20 | 27 63 6f 6e 76 65 72 74 |efalias |'convert|
|000003d0| 2d 73 74 61 6e 64 61 72 | 64 2d 66 69 6c 65 6e 61 |-standar|d-filena|
|000003e0| 6d 65 20 23 5b 28 66 69 | 6c 65 6e 61 6d 65 29 20 |me #[(fi|lename) |
|000003f0| 22 c0 20 84 12 00 09 3b | 83 12 00 c2 09 21 c3 9d |". ....;|.....!..|
|00000400| 83 14 00 09 87 c4 09 21 | 1d c6 c2 09 21 21 89 1e |.......!|....!!..|
|00000410| 07 89 47 53 48 1e 08 c9 | 1e 5c 6e c9 1e 0b 0e 07 |..GSH...|.\n.....|
|00000420| cc 48 cd 55 83 3b 00 0e | 07 cc ce 49 88 cf d0 0e |.H.U.;..|...I....|
|00000430| 07 5c 22 89 16 5c 6e 83 | 50 00 0e 07 0e 5c 6e ce |.\"..\n.|P....\n.|
|00000440| 49 88 82 3b 00 cf d1 0e | 07 5c 22 84 6b 00 cf d2 |I..;....|.\".k...|
|00000450| 0e 07 d3 23 89 16 5c 6e | 83 6b 00 0e 07 0e 5c 6e |...#..\n|.k....\n|
|00000460| cd 49 88 cf d1 0e 07 5c | 22 86 76 00 0e 07 47 d4 |.I.....\|".v...G.|
|00000470| 56 83 89 00 0e 07 cc d4 | 4f d5 0e 07 d4 c9 4f 51 |V.......|O.....OQ|
|00000480| 16 07 cf d1 0e 07 5c 22 | 86 95 00 0e 07 47 53 16 |......\"|.....GS.|
|00000490| 0b 0e 07 47 0e 0b d6 5c | 5c 56 83 ac 00 0e 07 cc |...G...\|\V......|
|000004a0| 0e 0b d6 5c 5c 4f 16 07 | cf d1 0e 07 0e 0b 54 23 |...\\O..|......T#|
|000004b0| 83 cb 00 cf d1 0e 07 0e | 0b 54 23 16 5c 6e 0e 07 |........|.T#.\n..|
|000004c0| 0e 5c 6e ce 49 88 82 ac | 00 0e 08 d7 9a 83 db 00 |.\n.I...|........|
|000004d0| 0e 07 89 47 53 0e 08 49 | 88 0d 0e 07 50 2d 87 22 |...GS..I|....P-."|
|000004e0| 20 5b 6d 73 64 6f 73 2d | 6c 6f 6e 67 2d 66 69 6c | [msdos-|long-fil|
|000004f0| 65 2d 6e 61 6d 65 73 20 | 66 69 6c 65 6e 61 6d 65 |e-names |filename|
|00000500| 20 66 69 6c 65 2d 6e 61 | 6d 65 2d 6e 6f 6e 64 69 | file-na|me-nondi|
|00000510| 72 65 63 74 6f 72 79 20 | 28 22 22 20 22 2e 22 20 |rectory |("" "." |
|00000520| 22 2e 2e 22 29 20 66 69 | 6c 65 2d 6e 61 6d 65 2d |"..") fi|le-name-|
|00000530| 64 69 72 65 63 74 6f 72 | 79 20 64 69 72 20 63 6f |director|y dir co|
|00000540| 70 79 2d 73 65 71 75 65 | 6e 63 65 20 73 74 72 69 |py-seque|nce stri|
|00000550| 6e 67 20 6c 61 73 74 63 | 68 61 72 20 6e 69 6c 20 |ng lastc|har nil |
|00000560| 69 20 66 69 72 73 74 64 | 6f 74 20 30 20 34 36 20 |i firstd|ot 0 46 |
|00000570| 39 35 20 73 74 72 69 6e | 67 2d 6d 61 74 63 68 20 |95 strin|g-match |
|00000580| 22 5b 5e 2d 61 2d 7a 41 | 2d 5a 30 2d 39 5f 2e 25 |"[^-a-zA|-Z0-9_.%|
|00000590| 7e 5e 24 21 23 26 7b 7d | 40 60 27 28 29 80 2d fe |~^$!#&{}|@`'().-.|
|000005a0| 5d 22 20 22 5c 5c 2e 22 | 20 22 5b 2d 5f 5d 22 20 |]" "\\."| "[-_]" |
|000005b0| 31 20 38 20 22 2e 22 20 | 34 20 31 32 36 5d 20 36 |1 8 "." |4 126] 6|
|000005c0| 20 28 23 24 20 2e 20 36 | 39 35 29 5d 29 0a 23 40 | (#$ . 6|95)]).#@|
|000005d0| 31 38 37 20 2a 41 6c 69 | 73 74 20 66 6f 72 20 64 |187 *Ali|st for d|
|000005e0| 69 73 74 69 6e 67 75 69 | 73 68 69 6e 67 20 74 65 |istingui|shing te|
|000005f0| 78 74 20 66 69 6c 65 73 | 20 66 72 6f 6d 20 62 69 |xt files| from bi|
|00000600| 6e 61 72 79 20 66 69 6c | 65 73 2e 0a 45 61 63 68 |nary fil|es..Each|
|00000610| 20 65 6c 65 6d 65 6e 74 | 20 68 61 73 20 74 68 65 | element| has the|
|00000620| 20 66 6f 72 6d 20 28 52 | 45 47 45 58 50 20 2e 20 | form (R|EGEXP . |
|00000630| 54 59 50 45 29 2c 20 77 | 68 65 72 65 20 52 45 47 |TYPE), w|here REG|
|00000640| 45 58 50 20 69 73 20 6d | 61 74 63 68 65 64 0a 61 |EXP is m|atched.a|
|00000650| 67 61 69 6e 73 74 20 74 | 68 65 20 66 69 6c 65 20 |gainst t|he file |
|00000660| 6e 61 6d 65 2c 20 61 6e | 64 20 54 59 50 45 20 69 |name, an|d TYPE i|
|00000670| 73 20 6e 69 6c 20 66 6f | 72 20 74 65 78 74 2c 20 |s nil fo|r text, |
|00000680| 74 20 66 6f 72 20 62 69 | 6e 61 72 79 2e 1f 0a 28 |t for bi|nary...(|
|00000690| 64 65 66 76 61 72 20 66 | 69 6c 65 2d 6e 61 6d 65 |defvar f|ile-name|
|000006a0| 2d 62 75 66 66 65 72 2d | 66 69 6c 65 2d 74 79 70 |-buffer-|file-typ|
|000006b0| 65 2d 61 6c 69 73 74 20 | 28 71 75 6f 74 65 20 28 |e-alist |(quote (|
|000006c0| 28 22 5b 3a 2f 5d 2e 2a | 63 6f 6e 66 69 67 2e 73 |("[:/].*|config.s|
|000006d0| 79 73 24 22 29 20 28 22 | 5c 5c 2e 65 6c 63 24 22 |ys$") ("|\\.elc$"|
|000006e0| 20 2e 20 74 29 20 28 22 | 5c 5c 2e 5c 5c 28 6f 62 | . t) ("|\\.\\(ob|
|000006f0| 6a 5c 5c 7c 65 78 65 5c | 5c 7c 63 6f 6d 5c 5c 7c |j\\|exe\|\|com\\||
|00000700| 6c 69 62 5c 5c 7c 73 79 | 73 5c 5c 7c 63 68 6b 5c |lib\\|sy|s\\|chk\|
|00000710| 5c 7c 6f 75 74 5c 5c 7c | 62 69 6e 5c 5c 7c 69 63 |\|out\\||bin\\|ic|
|00000720| 6f 5c 5c 7c 70 69 66 5c | 5c 29 24 22 20 2e 20 74 |o\\|pif\|\)$" . t|
|00000730| 29 20 28 22 5c 5c 2e 5c | 5c 28 61 72 63 5c 5c 7c |) ("\\.\|\(arc\\||
|00000740| 7a 69 70 5c 5c 7c 70 61 | 6b 5c 5c 7c 6c 7a 68 5c |zip\\|pa|k\\|lzh\|
|00000750| 5c 7c 7a 6f 6f 5c 5c 29 | 24 22 20 2e 20 74 29 20 |\|zoo\\)|$" . t) |
|00000760| 28 22 5c 5c 2e 5c 5c 28 | 61 5c 5c 7c 6f 5c 5c 7c |("\\.\\(|a\\|o\\||
|00000770| 74 61 72 5c 5c 7c 7a 5c | 5c 7c 67 7a 5c 5c 7c 74 |tar\\|z\|\|gz\\|t|
|00000780| 61 7a 5c 5c 29 24 22 20 | 2e 20 74 29 20 28 22 5c |az\\)$" |. t) ("\|
|00000790| 5c 2e 74 70 5b 75 6c 70 | 77 5d 24 22 20 2e 20 74 |\.tp[ulp|w]$" . t|
|000007a0| 29 20 28 22 5b 3a 2f 5d | 74 61 67 73 24 22 20 2e |) ("[:/]|tags$" .|
|000007b0| 20 74 29 29 29 20 28 23 | 24 20 2e 20 2d 31 34 39 | t))) (#|$ . -149|
|000007c0| 32 29 29 0a 28 64 65 66 | 61 6c 69 61 73 20 27 66 |2)).(def|alias 'f|
|000007d0| 69 6e 64 2d 62 75 66 66 | 65 72 2d 66 69 6c 65 2d |ind-buff|er-file-|
|000007e0| 74 79 70 65 20 23 5b 28 | 66 69 6c 65 6e 61 6d 65 |type #[(|filename|
|000007f0| 29 20 22 08 c1 89 1a 1b | 1c c5 1e 06 c7 0e 08 21 |) ".....|.......!|
|00000800| 16 08 0b 84 2d 00 5c 66 | 83 2d 00 c9 5c 66 40 40 |....-.\f|.-..\f@@|
|00000810| 0e 08 5c 22 83 27 00 5c | 66 40 41 12 c5 13 5c 66 |..\".'.\|f@A...\f|
|00000820| 41 14 82 0f 00 29 0b 83 | 4e 00 5c 6e ca 3e 83 3c |A....)..|N.\n.>.<|
|00000830| 00 5c 6e 82 50 00 5c 6e | 39 85 50 00 cb 5c 6e 21 |.\n.P.\n|9.P..\n!|
|00000840| 85 50 00 5c 6e 0e 08 21 | 82 50 00 0e 5c 66 2b 87 |.P.\n..!|.P..\f+.|
|00000850| 22 20 5b 66 69 6c 65 2d | 6e 61 6d 65 2d 62 75 66 |" [file-|name-buf|
|00000860| 66 65 72 2d 66 69 6c 65 | 2d 74 79 70 65 2d 61 6c |fer-file|-type-al|
|00000870| 69 73 74 20 6e 69 6c 20 | 63 6f 64 65 20 66 6f 75 |ist nil |code fou|
|00000880| 6e 64 20 61 6c 69 73 74 | 20 74 20 63 61 73 65 2d |nd alist| t case-|
|00000890| 66 6f 6c 64 2d 73 65 61 | 72 63 68 20 66 69 6c 65 |fold-sea|rch file|
|000008a0| 2d 6e 61 6d 65 2d 73 61 | 6e 73 2d 76 65 72 73 69 |-name-sa|ns-versi|
|000008b0| 6f 6e 73 20 66 69 6c 65 | 6e 61 6d 65 20 73 74 72 |ons file|name str|
|000008c0| 69 6e 67 2d 6d 61 74 63 | 68 20 28 6e 69 6c 20 74 |ing-matc|h (nil t|
|000008d0| 29 20 66 62 6f 75 6e 64 | 70 20 64 65 66 61 75 6c |) fbound|p defaul|
|000008e0| 74 2d 62 75 66 66 65 72 | 2d 66 69 6c 65 2d 74 79 |t-buffer|-file-ty|
|000008f0| 70 65 5d 20 33 5d 29 0a | 23 40 34 35 20 56 69 73 |pe] 3]).|#@45 Vis|
|00000900| 69 74 20 66 69 6c 65 20 | 46 49 4c 45 4e 41 4d 45 |it file |FILENAME|
|00000910| 20 61 6e 64 20 74 72 65 | 61 74 20 69 74 20 61 73 | and tre|at it as|
|00000920| 20 62 69 6e 61 72 79 2e | 1f 0a 28 64 65 66 61 6c | binary.|..(defal|
|00000930| 69 61 73 20 27 66 69 6e | 64 2d 66 69 6c 65 2d 62 |ias 'fin|d-file-b|
|00000940| 69 6e 61 72 79 20 23 5b | 28 66 69 6c 65 6e 61 6d |inary #[|(filenam|
|00000950| 65 29 20 22 c0 19 c2 0b | 21 29 87 22 20 5b 28 28 |e) "....|!)." [((|
|00000960| 22 22 20 2e 20 74 29 29 | 20 66 69 6c 65 2d 6e 61 |"" . t))| file-na|
|00000970| 6d 65 2d 62 75 66 66 65 | 72 2d 66 69 6c 65 2d 74 |me-buffe|r-file-t|
|00000980| 79 70 65 2d 61 6c 69 73 | 74 20 66 69 6e 64 2d 66 |ype-alis|t find-f|
|00000990| 69 6c 65 20 66 69 6c 65 | 6e 61 6d 65 5d 20 32 20 |ile file|name] 2 |
|000009a0| 28 23 24 20 2e 20 32 33 | 30 31 29 20 22 46 46 69 |(#$ . 23|01) "FFi|
|000009b0| 6e 64 20 66 69 6c 65 20 | 62 69 6e 61 72 79 3a 20 |nd file |binary: |
|000009c0| 22 5d 29 0a 23 40 35 30 | 20 56 69 73 69 74 20 66 |"]).#@50| Visit f|
|000009d0| 69 6c 65 20 46 49 4c 45 | 4e 41 4d 45 20 61 6e 64 |ile FILE|NAME and|
|000009e0| 20 74 72 65 61 74 20 69 | 74 20 61 73 20 61 20 74 | treat i|t as a t|
|000009f0| 65 78 74 20 66 69 6c 65 | 2e 1f 0a 28 64 65 66 61 |ext file|...(defa|
|00000a00| 6c 69 61 73 20 27 66 69 | 6e 64 2d 66 69 6c 65 2d |lias 'fi|nd-file-|
|00000a10| 74 65 78 74 20 23 5b 28 | 66 69 6c 65 6e 61 6d 65 |text #[(|filename|
|00000a20| 29 20 22 c0 19 c2 0b 21 | 29 87 22 20 5b 28 28 22 |) "....!|)." [(("|
|00000a30| 22 29 29 20 66 69 6c 65 | 2d 6e 61 6d 65 2d 62 75 |")) file|-name-bu|
|00000a40| 66 66 65 72 2d 66 69 6c | 65 2d 74 79 70 65 2d 61 |ffer-fil|e-type-a|
|00000a50| 6c 69 73 74 20 66 69 6e | 64 2d 66 69 6c 65 20 66 |list fin|d-file f|
|00000a60| 69 6c 65 6e 61 6d 65 5d | 20 32 20 28 23 24 20 2e |ilename]| 2 (#$ .|
|00000a70| 20 32 35 30 35 29 20 22 | 46 46 69 6e 64 20 66 69 | 2505) "|FFind fi|
|00000a80| 6c 65 20 74 65 78 74 3a | 20 22 5d 29 0a 28 64 65 |le text:| "]).(de|
|00000a90| 66 61 6c 69 61 73 20 27 | 66 69 6e 64 2d 66 69 6c |falias '|find-fil|
|00000aa0| 65 2d 6e 6f 74 2d 66 6f | 75 6e 64 2d 73 65 74 2d |e-not-fo|und-set-|
|00000ab0| 62 75 66 66 65 72 2d 66 | 69 6c 65 2d 74 79 70 65 |buffer-f|ile-type|
|00000ac0| 20 23 5b 6e 69 6c 20 22 | 8a 70 71 88 c0 c1 20 21 | #[nil "|.pq... !|
|00000ad0| 12 29 c3 87 22 20 5b 66 | 69 6e 64 2d 62 75 66 66 |.).." [f|ind-buff|
|00000ae0| 65 72 2d 66 69 6c 65 2d | 74 79 70 65 20 62 75 66 |er-file-|type buf|
|00000af0| 66 65 72 2d 66 69 6c 65 | 2d 6e 61 6d 65 20 62 75 |fer-file|-name bu|
|00000b00| 66 66 65 72 2d 66 69 6c | 65 2d 74 79 70 65 20 6e |ffer-fil|e-type n|
|00000b10| 69 6c 5d 20 32 5d 29 0a | 28 61 64 64 2d 68 6f 6f |il] 2]).|(add-hoo|
|00000b20| 6b 20 28 71 75 6f 74 65 | 20 66 69 6e 64 2d 66 69 |k (quote| find-fi|
|00000b30| 6c 65 2d 6e 6f 74 2d 66 | 6f 75 6e 64 2d 68 6f 6f |le-not-f|ound-hoo|
|00000b40| 6b 73 29 20 28 71 75 6f | 74 65 20 66 69 6e 64 2d |ks) (quo|te find-|
|00000b50| 66 69 6c 65 2d 6e 6f 74 | 2d 66 6f 75 6e 64 2d 73 |file-not|-found-s|
|00000b60| 65 74 2d 62 75 66 66 65 | 72 2d 66 69 6c 65 2d 74 |et-buffe|r-file-t|
|00000b70| 79 70 65 29 29 0a 23 40 | 37 34 20 2a 4c 69 73 74 |ype)).#@|74 *List|
|00000b80| 20 6f 66 20 73 68 65 6c | 6c 73 20 74 68 61 74 20 | of shel|ls that |
|00000b90| 75 73 65 20 60 2f 63 27 | 20 69 6e 73 74 65 61 64 |use `/c'| instead|
|00000ba0| 20 6f 66 20 60 2d 63 27 | 20 61 6e 64 20 61 20 62 | of `-c'| and a b|
|00000bb0| 61 63 6b 73 6c 61 73 68 | 65 64 20 63 6f 6d 6d 61 |ackslash|ed comma|
|00000bc0| 6e 64 2e 1f 0a 28 64 65 | 66 76 61 72 20 6d 73 64 |nd...(de|fvar msd|
|00000bd0| 6f 73 2d 73 68 65 6c 6c | 73 20 28 71 75 6f 74 65 |os-shell|s (quote|
|00000be0| 20 28 22 63 6f 6d 6d 61 | 6e 64 2e 63 6f 6d 22 20 | ("comma|nd.com" |
|00000bf0| 22 34 64 6f 73 2e 63 6f | 6d 22 20 22 6e 64 6f 73 |"4dos.co|m" "ndos|
|00000c00| 2e 63 6f 6d 22 29 29 20 | 28 23 24 20 2e 20 2d 32 |.com")) |(#$ . -2|
|00000c10| 39 33 39 29 29 0a 28 62 | 79 74 65 2d 63 6f 64 65 |939)).(b|yte-code|
|00000c20| 20 22 c0 11 c1 5c 6e 42 | 12 c1 87 22 20 5b 28 28 | "...\nB|..." [((|
|00000c30| 61 78 20 2e 20 30 29 20 | 28 62 78 20 2e 20 31 29 |ax . 0) |(bx . 1)|
|00000c40| 20 28 63 78 20 2e 20 32 | 29 20 28 64 78 20 2e 20 | (cx . 2|) (dx . |
|00000c50| 33 29 20 28 73 69 20 2e | 20 34 29 20 28 64 69 20 |3) (si .| 4) (di |
|00000c60| 2e 20 35 29 20 28 63 66 | 6c 61 67 20 2e 20 36 29 |. 5) (cf|lag . 6)|
|00000c70| 20 28 66 6c 61 67 73 20 | 2e 20 37 29 20 28 61 6c | (flags |. 7) (al|
|00000c80| 20 30 20 2e 20 30 29 20 | 28 62 6c 20 31 20 2e 20 | 0 . 0) |(bl 1 . |
|00000c90| 30 29 20 28 63 6c 20 32 | 20 2e 20 30 29 20 28 64 |0) (cl 2| . 0) (d|
|00000ca0| 6c 20 33 20 2e 20 30 29 | 20 28 61 68 20 30 20 2e |l 3 . 0)| (ah 0 .|
|00000cb0| 20 31 29 20 28 62 68 20 | 31 20 2e 20 31 29 20 28 | 1) (bh |1 . 1) (|
|00000cc0| 63 68 20 32 20 2e 20 31 | 29 20 28 64 68 20 33 20 |ch 2 . 1|) (dh 3 |
|00000cd0| 2e 20 31 29 29 20 72 65 | 67 69 73 74 65 72 2d 6e |. 1)) re|gister-n|
|00000ce0| 61 6d 65 2d 61 6c 69 73 | 74 20 63 75 72 72 65 6e |ame-alis|t curren|
|00000cf0| 74 2d 6c 6f 61 64 2d 6c | 69 73 74 5d 20 32 29 0a |t-load-l|ist] 2).|
|00000d00| 28 64 65 66 61 6c 69 61 | 73 20 27 6d 61 6b 65 2d |(defalia|s 'make-|
|00000d10| 72 65 67 69 73 74 65 72 | 20 23 5b 6e 69 6c 20 22 |register| #[nil "|
|00000d20| c0 c1 c2 5c 22 87 22 20 | 5b 6d 61 6b 65 2d 76 65 |...\"." |[make-ve|
|00000d30| 63 74 6f 72 20 38 20 30 | 5d 20 33 5d 29 0a 28 64 |ctor 8 0|] 3]).(d|
|00000d40| 65 66 61 6c 69 61 73 20 | 27 72 65 67 69 73 74 65 |efalias |'registe|
|00000d50| 72 2d 76 61 6c 75 65 20 | 23 5b 28 72 65 67 73 20 |r-value |#[(regs |
|00000d60| 6e 61 6d 65 29 20 22 c0 | 09 5c 6e 5c 22 41 89 1b |name) ".|.\n\"A..|
|00000d70| 3a 83 24 00 5c 66 0b 40 | 48 1d 0b 41 c6 55 83 1d |:.$.\f.@|H..A.U..|
|00000d80| 00 0d c7 a6 82 20 00 0d | c7 a5 29 82 30 00 0b a7 |..... ..|..).0...|
|00000d90| 83 2f 00 5c 66 0b 48 82 | 30 00 c8 29 87 22 20 5b |./.\f.H.|0..)." [|
|00000da0| 61 73 73 6f 63 20 6e 61 | 6d 65 20 72 65 67 69 73 |assoc na|me regis|
|00000db0| 74 65 72 2d 6e 61 6d 65 | 2d 61 6c 69 73 74 20 77 |ter-name|-alist w|
|00000dc0| 68 65 72 65 20 72 65 67 | 73 20 74 65 6d 20 30 20 |here reg|s tem 0 |
|00000dd0| 32 35 36 20 6e 69 6c 5d | 20 34 5d 29 0a 28 64 65 |256 nil]| 4]).(de|
|00000de0| 66 61 6c 69 61 73 20 27 | 73 65 74 2d 72 65 67 69 |falias '|set-regi|
|00000df0| 73 74 65 72 2d 76 61 6c | 75 65 20 23 5b 28 72 65 |ster-val|ue #[(re|
|00000e00| 67 73 20 6e 61 6d 65 20 | 76 61 6c 75 65 29 20 22 |gs name |value) "|
|00000e10| 08 a7 83 58 00 08 c1 59 | 83 58 00 c2 0b 5c 66 5c |...X...Y|.X...\f\|
|00000e20| 22 41 89 1d 3a 83 49 00 | 0e 06 0d 40 48 c7 08 c8 |"A..:.I.|...@H...|
|00000e30| 5c 22 18 1e 09 0e 06 0d | 40 0d 41 c1 55 83 38 00 |\"......|@.A.U.8.|
|00000e40| ca c7 0e 09 cb 5c 22 08 | 5c 22 82 43 00 ca c7 0e |.....\".|\".C....|
|00000e50| 09 c8 5c 22 cc 08 cd 5c | 22 5c 22 49 88 2a 82 57 |..\"...\|"\"I.*.W|
|00000e60| 00 0d a7 83 57 00 0e 06 | 0d c7 08 ce 5c 22 49 88 |....W...|....\"I.|
|00000e70| 29 0e 06 87 22 20 5b 76 | 61 6c 75 65 20 30 20 61 |)..." [v|alue 0 a|
|00000e80| 73 73 6f 63 20 6e 61 6d | 65 20 72 65 67 69 73 74 |ssoc nam|e regist|
|00000e90| 65 72 2d 6e 61 6d 65 2d | 61 6c 69 73 74 20 77 68 |er-name-|alist wh|
|00000ea0| 65 72 65 20 72 65 67 73 | 20 6c 6f 67 61 6e 64 20 |ere regs| logand |
|00000eb0| 32 35 35 20 74 65 6d 20 | 6c 6f 67 69 6f 72 20 36 |255 tem |logior 6|
|00000ec0| 35 32 38 30 20 6c 73 68 | 20 38 20 36 35 35 33 35 |5280 lsh| 8 65535|
|00000ed0| 5d 20 38 5d 29 0a 28 64 | 65 66 61 6c 69 61 73 20 |] 8]).(d|efalias |
|00000ee0| 27 69 6e 74 64 6f 73 20 | 23 5b 28 72 65 67 73 29 |'intdos |#[(regs)|
|00000ef0| 20 22 c0 c1 5c 6e 5c 22 | 87 22 20 5b 69 6e 74 38 | "..\n\"|." [int8|
|00000f00| 36 20 33 33 20 72 65 67 | 73 5d 20 33 5d 29 0a 28 |6 33 reg|s] 3]).(|
|00000f10| 70 75 74 20 28 71 75 6f | 74 65 20 69 6e 74 64 6f |put (quo|te intdo|
|00000f20| 73 29 20 28 71 75 6f 74 | 65 20 62 79 74 65 2d 6f |s) (quot|e byte-o|
|00000f30| 70 74 69 6d 69 7a 65 72 | 29 20 28 71 75 6f 74 65 |ptimizer|) (quote|
|00000f40| 20 62 79 74 65 2d 63 6f | 6d 70 69 6c 65 2d 69 6e | byte-co|mpile-in|
|00000f50| 6c 69 6e 65 2d 65 78 70 | 61 6e 64 29 29 0a 23 40 |line-exp|and)).#@|
|00000f60| 34 32 38 20 2a 54 68 65 | 20 6e 61 6d 65 20 6f 66 |428 *The| name of|
|00000f70| 20 61 20 6c 6f 63 61 6c | 20 4d 53 2d 44 4f 53 20 | a local| MS-DOS |
|00000f80| 64 65 76 69 63 65 20 74 | 6f 20 77 68 69 63 68 20 |device t|o which |
|00000f90| 64 61 74 61 20 69 73 20 | 73 65 6e 74 20 66 6f 72 |data is |sent for|
|00000fa0| 20 70 72 69 6e 74 69 6e | 67 2e 0a 28 4e 6f 74 65 | printin|g..(Note|
|00000fb0| 20 74 68 61 74 20 50 6f | 73 74 53 63 72 69 70 74 | that Po|stScript|
|00000fc0| 20 66 69 6c 65 73 20 61 | 72 65 20 73 65 6e 74 20 | files a|re sent |
|00000fd0| 74 6f 20 60 64 6f 73 2d | 70 73 2d 70 72 69 6e 74 |to `dos-|ps-print|
|00000fe0| 65 72 27 2c 20 77 68 69 | 63 68 20 73 65 65 2e 29 |er', whi|ch see.)|
|00000ff0| 0a 0a 54 79 70 69 63 61 | 6c 20 6e 6f 6e 2d 64 65 |..Typica|l non-de|
|00001000| 66 61 75 6c 74 20 73 65 | 74 74 69 6e 67 73 20 77 |fault se|ttings w|
|00001010| 6f 75 6c 64 20 62 65 20 | 22 4c 50 54 31 22 20 74 |ould be |"LPT1" t|
|00001020| 6f 20 22 4c 50 54 33 22 | 20 66 6f 72 0a 70 61 72 |o "LPT3"| for.par|
|00001030| 61 6c 6c 65 6c 20 70 72 | 69 6e 74 65 72 73 2c 20 |allel pr|inters, |
|00001040| 6f 72 20 22 43 4f 4d 31 | 22 20 74 6f 20 22 43 4f |or "COM1|" to "CO|
|00001050| 4d 34 22 20 6f 72 20 22 | 41 55 58 22 20 66 6f 72 |M4" or "|AUX" for|
|00001060| 20 73 65 72 69 61 6c 0a | 70 72 69 6e 74 65 72 73 | serial.|printers|
|00001070| 2e 20 20 59 6f 75 20 63 | 61 6e 20 61 6c 73 6f 20 |. You c|an also |
|00001080| 73 65 74 20 69 74 20 74 | 6f 20 61 20 6e 61 6d 65 |set it t|o a name|
|00001090| 20 6f 66 20 61 20 66 69 | 6c 65 2c 20 69 6e 20 77 | of a fi|le, in w|
|000010a0| 68 69 63 68 0a 63 61 73 | 65 20 74 68 65 20 6f 75 |hich.cas|e the ou|
|000010b0| 74 70 75 74 20 67 65 74 | 73 20 61 70 70 65 6e 64 |tput get|s append|
|000010c0| 65 64 20 74 6f 20 74 68 | 61 74 20 66 69 6c 65 2e |ed to th|at file.|
|000010d0| 0a 49 66 20 79 6f 75 20 | 77 61 6e 74 20 74 6f 20 |.If you |want to |
|000010e0| 64 69 73 63 61 72 64 20 | 74 68 65 20 70 72 69 6e |discard |the prin|
|000010f0| 74 65 64 20 6f 75 74 70 | 75 74 2c 20 73 65 74 20 |ted outp|ut, set |
|00001100| 74 68 69 73 20 74 6f 20 | 22 4e 55 4c 22 2e 1f 0a |this to |"NUL"...|
|00001110| 28 64 65 66 76 61 72 20 | 64 6f 73 2d 70 72 69 6e |(defvar |dos-prin|
|00001120| 74 65 72 20 22 50 52 4e | 22 20 28 23 24 20 2e 20 |ter "PRN|" (#$ . |
|00001130| 2d 33 39 34 30 29 29 0a | 23 40 31 39 32 20 4d 53 |-3940)).|#@192 MS|
|00001140| 2d 44 4f 53 2d 73 70 65 | 63 69 66 69 63 20 66 75 |-DOS-spe|cific fu|
|00001150| 6e 63 74 69 6f 6e 20 74 | 6f 20 70 72 69 6e 74 20 |nction t|o print |
|00001160| 74 68 65 20 72 65 67 69 | 6f 6e 20 6f 6e 20 61 20 |the regi|on on a |
|00001170| 70 72 69 6e 74 65 72 2e | 0a 57 72 69 74 65 73 20 |printer.|.Writes |
|00001180| 74 68 65 20 72 65 67 69 | 6f 6e 20 74 6f 20 74 68 |the regi|on to th|
|00001190| 65 20 64 65 76 69 63 65 | 20 6f 72 20 66 69 6c 65 |e device| or file|
|000011a0| 20 77 68 69 63 68 20 69 | 73 20 61 20 76 61 6c 75 | which i|s a valu|
|000011b0| 65 20 6f 66 0a 60 64 6f | 73 2d 70 72 69 6e 74 65 |e of.`do|s-printe|
|000011c0| 72 27 20 28 77 68 69 63 | 68 20 73 65 65 29 2e 20 |r' (whic|h see). |
|000011d0| 20 49 67 6e 6f 72 65 73 | 20 61 6e 79 20 61 72 67 | Ignores| any arg|
|000011e0| 75 6d 65 6e 74 73 20 62 | 65 79 6f 6e 64 0a 53 54 |uments b|eyond.ST|
|000011f0| 41 52 54 20 61 6e 64 20 | 45 4e 44 2e 1f 0a 28 64 |ART and |END...(d|
|00001200| 65 66 61 6c 69 61 73 20 | 27 64 6f 73 2d 70 72 69 |efalias |'dos-pri|
|00001210| 6e 74 2d 72 65 67 69 6f | 6e 2d 66 75 6e 63 74 69 |nt-regio|n-functi|
|00001220| 6f 6e 20 23 5b 28 73 74 | 61 72 74 20 65 6e 64 20 |on #[(st|art end |
|00001230| 26 6f 70 74 69 6f 6e 61 | 6c 20 6c 70 72 2d 70 72 |&optiona|l lpr-pr|
|00001240| 6f 67 20 64 65 6c 65 74 | 65 2d 74 65 78 74 20 62 |og delet|e-text b|
|00001250| 75 66 20 64 69 73 70 6c | 61 79 20 72 65 73 74 29 |uf displ|ay rest)|
|00001260| 20 22 c0 09 5c 6e 0b c4 | c5 25 88 c6 5c 6e 53 66 | "..\n..|.%..\nSf|
|00001270| c7 5c 22 3f 85 19 00 c0 | c8 c9 0b c4 c5 25 87 22 |.\"?....|.....%."|
|00001280| 20 5b 77 72 69 74 65 2d | 72 65 67 69 6f 6e 20 73 | [write-|region s|
|00001290| 74 61 72 74 20 65 6e 64 | 20 64 6f 73 2d 70 72 69 |tart end| dos-pri|
|000012a0| 6e 74 65 72 20 74 20 30 | 20 63 68 61 72 2d 65 71 |nter t 0| char-eq|
|000012b0| 75 61 6c 20 31 32 20 22 | 5c 66 22 20 6e 69 6c 5d |ual 12 "|\f" nil]|
|000012c0| 20 36 20 28 23 24 20 2e | 20 34 34 31 34 29 5d 29 | 6 (#$ .| 4414)])|
|000012d0| 0a 28 62 79 74 65 2d 63 | 6f 64 65 20 22 c0 11 c2 |.(byte-c|ode "...|
|000012e0| 13 c0 87 22 20 5b 64 6f | 73 2d 70 72 69 6e 74 2d |..." [do|s-print-|
|000012f0| 72 65 67 69 6f 6e 2d 66 | 75 6e 63 74 69 6f 6e 20 |region-f|unction |
|00001300| 70 72 69 6e 74 2d 72 65 | 67 69 6f 6e 2d 66 75 6e |print-re|gion-fun|
|00001310| 63 74 69 6f 6e 20 22 28 | 70 61 67 65 20 68 65 61 |ction "(|page hea|
|00001320| 64 65 72 73 20 61 72 65 | 20 6e 6f 74 20 73 75 70 |ders are| not sup|
|00001330| 70 6f 72 74 65 64 29 22 | 20 6c 70 72 2d 68 65 61 |ported)"| lpr-hea|
|00001340| 64 65 72 73 2d 73 77 69 | 74 63 68 65 73 5d 20 31 |ders-swi|tches] 1|
|00001350| 29 0a 23 40 38 32 38 20 | 2a 4d 65 74 68 6f 64 20 |).#@828 |*Method |
|00001360| 66 6f 72 20 70 72 69 6e | 74 69 6e 67 20 50 6f 73 |for prin|ting Pos|
|00001370| 74 53 63 72 69 70 74 20 | 66 69 6c 65 73 20 75 6e |tScript |files un|
|00001380| 64 65 72 20 4d 53 2d 44 | 4f 53 2e 0a 0a 49 66 20 |der MS-D|OS...If |
|00001390| 74 68 65 20 76 61 6c 75 | 65 20 69 73 20 61 20 73 |the valu|e is a s|
|000013a0| 74 72 69 6e 67 2c 20 74 | 68 65 6e 20 69 74 20 69 |tring, t|hen it i|
|000013b0| 73 20 74 61 6b 65 6e 20 | 61 73 20 74 68 65 20 6e |s taken |as the n|
|000013c0| 61 6d 65 20 6f 66 20 74 | 68 65 0a 64 65 76 69 63 |ame of t|he.devic|
|000013d0| 65 20 74 6f 20 77 68 69 | 63 68 20 50 6f 73 74 53 |e to whi|ch PostS|
|000013e0| 63 72 69 70 74 20 66 69 | 6c 65 73 20 61 72 65 20 |cript fi|les are |
|000013f0| 77 72 69 74 74 65 6e 2e | 20 20 42 79 20 64 65 66 |written.| By def|
|00001400| 61 75 6c 74 20 69 74 0a | 69 73 20 74 68 65 20 64 |ault it.|is the d|
|00001410| 65 66 61 75 6c 74 20 70 | 72 69 6e 74 65 72 20 64 |efault p|rinter d|
|00001420| 65 76 69 63 65 3b 20 74 | 79 70 69 63 61 6c 20 6e |evice; t|ypical n|
|00001430| 6f 6e 2d 64 65 66 61 75 | 6c 74 20 73 65 74 74 69 |on-defau|lt setti|
|00001440| 6e 67 73 0a 77 6f 75 6c | 64 20 62 65 20 22 4c 50 |ngs.woul|d be "LP|
|00001450| 54 31 22 20 74 6f 20 22 | 4c 50 54 33 22 20 66 6f |T1" to "|LPT3" fo|
|00001460| 72 20 70 61 72 61 6c 6c | 65 6c 20 70 72 69 6e 74 |r parall|el print|
|00001470| 65 72 73 2c 20 6f 72 20 | 22 43 4f 4d 31 22 0a 74 |ers, or |"COM1".t|
|00001480| 6f 20 22 43 4f 4d 34 22 | 20 6f 72 20 22 41 55 58 |o "COM4"| or "AUX|
|00001490| 22 20 66 6f 72 20 73 65 | 72 69 61 6c 20 70 72 69 |" for se|rial pri|
|000014a0| 6e 74 65 72 73 2e 20 20 | 59 6f 75 20 63 61 6e 20 |nters. |You can |
|000014b0| 61 6c 73 6f 20 73 65 74 | 20 69 74 0a 74 6f 20 61 |also set| it.to a|
|000014c0| 20 6e 61 6d 65 20 6f 66 | 20 61 20 66 69 6c 65 2c | name of| a file,|
|000014d0| 20 69 6e 20 77 68 69 63 | 68 20 63 61 73 65 20 74 | in whic|h case t|
|000014e0| 68 65 20 6f 75 74 70 75 | 74 20 67 65 74 73 20 61 |he outpu|t gets a|
|000014f0| 70 70 65 6e 64 65 64 0a | 74 6f 20 74 68 61 74 20 |ppended.|to that |
|00001500| 66 69 6c 65 2e 20 20 28 | 4e 6f 74 65 20 74 68 61 |file. (|Note tha|
|00001510| 74 20 60 70 73 2d 70 72 | 69 6e 74 27 20 70 61 63 |t `ps-pr|int' pac|
|00001520| 6b 61 67 65 20 61 6c 72 | 65 61 64 79 20 68 61 73 |kage alr|eady has|
|00001530| 0a 66 61 63 69 6c 69 74 | 69 65 73 20 66 6f 72 20 |.facilit|ies for |
|00001540| 70 72 69 6e 74 69 6e 67 | 20 74 6f 20 61 20 66 69 |printing| to a fi|
|00001550| 6c 65 2c 20 73 6f 20 79 | 6f 75 20 6d 69 67 68 74 |le, so y|ou might|
|00001560| 20 61 73 20 77 65 6c 6c | 20 75 73 65 0a 74 68 65 | as well| use.the|
|00001570| 6d 20 69 6e 73 74 65 61 | 64 20 6f 66 20 63 68 61 |m instea|d of cha|
|00001580| 6e 67 69 6e 67 20 74 68 | 65 20 73 65 74 74 69 6e |nging th|e settin|
|00001590| 67 20 6f 66 20 74 68 69 | 73 20 76 61 72 69 61 62 |g of thi|s variab|
|000015a0| 6c 65 2e 29 20 20 49 66 | 0a 79 6f 75 20 77 61 6e |le.) If|.you wan|
|000015b0| 74 20 74 6f 20 73 69 6c | 65 6e 74 6c 79 20 64 69 |t to sil|ently di|
|000015c0| 73 63 61 72 64 20 74 68 | 65 20 70 72 69 6e 74 65 |scard th|e printe|
|000015d0| 64 20 6f 75 74 70 75 74 | 2c 20 73 65 74 20 74 68 |d output|, set th|
|000015e0| 69 73 20 74 6f 20 22 4e | 55 4c 22 2e 0a 0a 49 66 |is to "N|UL"...If|
|000015f0| 20 74 68 65 20 76 61 6c | 75 65 20 69 73 20 61 6e | the val|ue is an|
|00001600| 79 74 68 69 6e 67 20 62 | 75 74 20 61 20 73 74 72 |ything b|ut a str|
|00001610| 69 6e 67 2c 20 50 6f 73 | 74 53 63 72 69 70 74 20 |ing, Pos|tScript |
|00001620| 66 69 6c 65 73 20 77 69 | 6c 6c 20 62 65 0a 70 69 |files wi|ll be.pi|
|00001630| 70 65 64 20 74 6f 20 74 | 68 65 20 70 72 6f 67 72 |ped to t|he progr|
|00001640| 61 6d 20 67 69 76 65 6e | 20 62 79 20 60 70 73 2d |am given| by `ps-|
|00001650| 6c 70 72 2d 63 6f 6d 6d | 61 6e 64 27 2c 20 77 69 |lpr-comm|and', wi|
|00001660| 74 68 20 73 77 69 74 63 | 68 65 73 0a 67 69 76 65 |th switc|hes.give|
|00001670| 6e 20 62 79 20 60 70 73 | 2d 6c 70 72 2d 73 77 69 |n by `ps|-lpr-swi|
|00001680| 74 63 68 65 73 27 2c 20 | 77 68 69 63 68 20 73 65 |tches', |which se|
|00001690| 65 2e 1f 0a 28 64 65 66 | 76 61 72 20 64 6f 73 2d |e...(def|var dos-|
|000016a0| 70 73 2d 70 72 69 6e 74 | 65 72 20 22 50 52 4e 22 |ps-print|er "PRN"|
|000016b0| 20 28 23 24 20 2e 20 2d | 34 39 35 32 29 29 0a 28 | (#$ . -|4952)).(|
|000016c0| 62 79 74 65 2d 63 6f 64 | 65 20 22 c0 11 c2 13 c4 |byte-cod|e ".....|
|000016d0| 87 22 20 5b 22 67 73 22 | 20 70 73 2d 6c 70 72 2d |." ["gs"| ps-lpr-|
|000016e0| 63 6f 6d 6d 61 6e 64 20 | 28 22 2d 71 22 20 22 2d |command |("-q" "-|
|000016f0| 64 4e 4f 50 41 55 53 45 | 22 20 22 2d 73 44 45 56 |dNOPAUSE|" "-sDEV|
|00001700| 49 43 45 3d 65 70 73 6f | 6e 22 20 22 2d 72 32 34 |ICE=epso|n" "-r24|
|00001710| 30 78 36 30 22 20 22 2d | 73 4f 75 74 70 75 74 46 |0x60" "-|sOutputF|
|00001720| 69 6c 65 3d 4c 50 54 31 | 22 20 22 2d 22 29 20 70 |ile=LPT1|" "-") p|
|00001730| 73 2d 6c 70 72 2d 73 77 | 69 74 63 68 65 73 20 6e |s-lpr-sw|itches n|
|00001740| 69 6c 5d 20 31 29 0a 23 | 40 34 32 20 43 68 61 6e |il] 1).#|@42 Chan|
|00001750| 67 65 73 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |ges the |number o|
|00001760| 66 20 73 63 72 65 65 6e | 20 72 6f 77 73 20 74 6f |f screen| rows to|
|00001770| 20 32 35 2e 1f 0a 28 64 | 65 66 61 6c 69 61 73 20 | 25...(d|efalias |
|00001780| 27 6d 6f 64 65 32 35 20 | 23 5b 6e 69 6c 20 22 c0 |'mode25 |#[nil ".|
|00001790| c1 20 c2 c3 23 87 22 20 | 5b 73 65 74 2d 66 72 61 |. ..#." |[set-fra|
|000017a0| 6d 65 2d 73 69 7a 65 20 | 73 65 6c 65 63 74 65 64 |me-size |selected|
|000017b0| 2d 66 72 61 6d 65 20 38 | 30 20 32 35 5d 20 34 20 |-frame 8|0 25] 4 |
|000017c0| 28 23 24 20 2e 20 35 39 | 36 34 29 20 6e 69 6c 5d |(#$ . 59|64) nil]|
|000017d0| 29 0a 23 40 32 32 37 20 | 43 68 61 6e 67 65 73 20 |).#@227 |Changes |
|000017e0| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 72 6f |the numb|er of ro|
|000017f0| 77 73 20 74 6f 20 34 33 | 20 6f 72 20 35 30 2e 0a |ws to 43| or 50..|
|00001800| 45 6d 61 63 73 20 61 6c | 77 61 79 73 20 74 72 69 |Emacs al|ways tri|
|00001810| 65 73 20 74 6f 20 73 65 | 74 20 74 68 65 20 73 63 |es to se|t the sc|
|00001820| 72 65 65 6e 20 68 65 69 | 67 68 74 20 74 6f 20 35 |reen hei|ght to 5|
|00001830| 30 20 72 6f 77 73 20 66 | 69 72 73 74 2e 0a 49 66 |0 rows f|irst..If|
|00001840| 20 74 68 69 73 20 66 61 | 69 6c 73 2c 20 69 74 20 | this fa|ils, it |
|00001850| 77 69 6c 6c 20 74 72 79 | 20 74 6f 20 73 65 74 20 |will try| to set |
|00001860| 69 74 20 74 6f 20 34 33 | 20 72 6f 77 73 2c 20 6f |it to 43| rows, o|
|00001870| 6e 20 74 68 65 20 61 73 | 73 75 6d 70 74 69 6f 6e |n the as|sumption|
|00001880| 0a 74 68 61 74 20 79 6f | 75 72 20 76 69 64 65 6f |.that yo|ur video|
|00001890| 20 68 61 72 64 77 61 72 | 65 20 6d 69 67 68 74 20 | hardwar|e might |
|000018a0| 6e 6f 74 20 73 75 70 70 | 6f 72 74 20 35 30 2d 6c |not supp|ort 50-l|
|000018b0| 69 6e 65 20 6d 6f 64 65 | 2e 1f 0a 28 64 65 66 61 |ine mode|...(defa|
|000018c0| 6c 69 61 73 20 27 6d 6f | 64 65 34 33 35 30 20 23 |lias 'mo|de4350 #|
|000018d0| 5b 6e 69 6c 20 22 c0 c1 | 20 c2 c3 23 88 c4 c1 20 |[nil "..| ..#... |
|000018e0| 21 c3 3d 3f 85 17 00 c0 | c1 20 c2 c5 23 87 22 20 |!.=?....|. ..#." |
|000018f0| 5b 73 65 74 2d 66 72 61 | 6d 65 2d 73 69 7a 65 20 |[set-fra|me-size |
|00001900| 73 65 6c 65 63 74 65 64 | 2d 66 72 61 6d 65 20 38 |selected|-frame 8|
|00001910| 30 20 35 30 20 66 72 61 | 6d 65 2d 68 65 69 67 68 |0 50 fra|me-heigh|
|00001920| 74 20 34 33 5d 20 34 20 | 28 23 24 20 2e 20 36 31 |t 43] 4 |(#$ . 61|
|00001930| 30 34 29 20 6e 69 6c 5d | 29 0a 28 70 72 6f 76 69 |04) nil]|).(provi|
|00001940| 64 65 20 28 71 75 6f 74 | 65 20 64 6f 73 2d 66 6e |de (quot|e dos-fn|
|00001950| 73 29 29 0a | |s)). | |
+--------+-------------------------+-------------------------+--------+--------+